const express = require('express');
const router = express.Router();

const overviewService = require('../service/overviewService')
const expressJoi = require('@escook/express-joi')
const { overview_update } = require('../rule/overviewRule')

router.get('', overviewService.overview);

router.post('/update', expressJoi(overview_update), overviewService.update);



module.exports = router;
